<template>
  <TyfpLeft />
  <!--  -->
  <Tycontent />
  <!--  -->
  <TyfpRight />
  <!--  -->
  <Tytable v-if="routerurl !== undefined" />
</template>

<script setup>
import { ref, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router';
import TyfpLeft from './components/left/index.vue'
import TyfpRight from './components/right/index.vue'
import Tycontent from './components/content/index.vue'
import Tytable from './components/ttyable/index.vue'


const route = useRoute()
const router = useRouter()


const routerurl = ref('')

onMounted(() => {
  routerurl.value = route.query.name
  console.log(' tyfpurl.value', routerurl.value)
})

</script>


<style scoped lang="less"></style>